all: run report

run: 
	g++ 1B.cpp -o 1B.exe -std=c++11 -Wall
	g++ 1C.cpp -o 1C.exe -std=c++11 -Wall
	g++ 1D.cpp -o 1D.exe -std=c++11 -Wall
	g++ 1E.cpp -o 1E.exe -std=c++11 -Wall
	g++ 1F.cpp -o 1F.exe -std=c++11 -Wall
	./1B.exe
	./1C.exe
	./1D.exe
	./1E.exe
	./1F.exe

report:
	pdflatex report1.tex

clean:
	rm -f *.exe *.pdf